<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver ADS1118: src/driver_ads1118.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver ADS1118
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">ADS1118 full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ads1118_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ads1118.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ads1118_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_ADS1118_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ga78f49a4380e81222e020fb730acc47f1">   62</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a20394de6d87f9867988d8d9d745596e1">   64</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a20394de6d87f9867988d8d9d745596e1">ADS1118_BOOL_FALSE</a> = 0x00,        </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a0632581684dbafc03a6d4d55ae4fcb6e">   65</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a0632581684dbafc03a6d4d55ae4fcb6e">ADS1118_BOOL_TRUE</a>  = 0x01,        </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#ga78f49a4380e81222e020fb730acc47f1">ads1118_bool_t</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ga8e9e27e0d446a669c5766bef8dc9e3db">   71</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;{</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad54eb5fd2837dffd5ead493710d45063">   73</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad54eb5fd2837dffd5ead493710d45063">ADS1118_RANGE_6P144V</a> = 0x00,        </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad70180f192713d521c787e63030bd6e9">   74</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad70180f192713d521c787e63030bd6e9">ADS1118_RANGE_4P096V</a> = 0x01,        </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbabd8448722b8bc8fa8a451723b1258144">   75</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbabd8448722b8bc8fa8a451723b1258144">ADS1118_RANGE_2P048V</a> = 0x02,        </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba8a92d51c2cef6b3f95c4a71647d265ad">   76</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba8a92d51c2cef6b3f95c4a71647d265ad">ADS1118_RANGE_1P024V</a> = 0x03,        </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbaad424621cf470a9a11fab9cb5b0d6de5">   77</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbaad424621cf470a9a11fab9cb5b0d6de5">ADS1118_RANGE_0P512V</a> = 0x04,        </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba5513613a4baca4b8d42f4939b619aa9c">   78</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba5513613a4baca4b8d42f4939b619aa9c">ADS1118_RANGE_0P256V</a> = 0x05,        </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#ga8e9e27e0d446a669c5766bef8dc9e3db">ads1118_range_t</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gad5dec9726414e0cf7c7b65894ce838f8">   84</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ae56de8a9e54b295965f3e6d6a37b2f3a">   86</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ae56de8a9e54b295965f3e6d6a37b2f3a">ADS1118_RATE_8SPS</a>   = 0x00,        </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6668699dc8cc04acf7d1e07baa8d9edd">   87</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6668699dc8cc04acf7d1e07baa8d9edd">ADS1118_RATE_16SPS</a>  = 0x01,        </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6934052e5bd66fee04ed51656644e3ec">   88</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6934052e5bd66fee04ed51656644e3ec">ADS1118_RATE_32SPS</a>  = 0x02,        </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a01e81a3c6c5afcafbc7e727801f23617">   89</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a01e81a3c6c5afcafbc7e727801f23617">ADS1118_RATE_64SPS</a>  = 0x03,        </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8aba07a6359dee87c7c7686b2f670216c1">   90</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8aba07a6359dee87c7c7686b2f670216c1">ADS1118_RATE_128SPS</a> = 0x04,        </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8afc684d1815f829b624e3dcdd008d2324">   91</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8afc684d1815f829b624e3dcdd008d2324">ADS1118_RATE_250SPS</a> = 0x05,        </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ab3406d4c5ad1eba23e6374b9e27394d4">   92</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ab3406d4c5ad1eba23e6374b9e27394d4">ADS1118_RATE_475SPS</a> = 0x06,        </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a9b336c77a1f74d36ca4469e26e8ead55">   93</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a9b336c77a1f74d36ca4469e26e8ead55">ADS1118_RATE_860SPS</a> = 0x07,        </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#gad5dec9726414e0cf7c7b65894ce838f8">ads1118_rate_t</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gabafaa3825a93ff6b91ee46b52fd87985">   99</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;{</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a58125163d98403f090c67e081975ff8c">  101</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a58125163d98403f090c67e081975ff8c">ADS1118_CHANNEL_AIN0_AIN1</a> = 0x00,        </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a6ad610ba2237169d8f815190fc7fd635">  102</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a6ad610ba2237169d8f815190fc7fd635">ADS1118_CHANNEL_AIN0_AIN3</a> = 0x01,        </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985adfc3e9c067fccfb9568c4f36d56d29a2">  103</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985adfc3e9c067fccfb9568c4f36d56d29a2">ADS1118_CHANNEL_AIN1_AIN3</a> = 0x02,        </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a7d3758007a36985cd1a35c2e983923a8">  104</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a7d3758007a36985cd1a35c2e983923a8">ADS1118_CHANNEL_AIN2_AIN3</a> = 0x03,        </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a4c23449b464ca7e036c087cd6b54eb5e">  105</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a4c23449b464ca7e036c087cd6b54eb5e">ADS1118_CHANNEL_AIN0_GND</a>  = 0x04,        </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac0aa314ff603ec793b90ff60cc0d3440">  106</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac0aa314ff603ec793b90ff60cc0d3440">ADS1118_CHANNEL_AIN1_GND</a>  = 0x05,        </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a31a3e2abc07afc5a3ade5e6ce71f0187">  107</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a31a3e2abc07afc5a3ade5e6ce71f0187">ADS1118_CHANNEL_AIN2_GND</a>  = 0x06,        </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac55cc1d3e9c42d3a51513cb4ea5206fc">  108</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac55cc1d3e9c42d3a51513cb4ea5206fc">ADS1118_CHANNEL_AIN3_GND</a>  = 0x07,        </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#gabafaa3825a93ff6b91ee46b52fd87985">ads1118_channel_t</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ga6c9f083f2c394319c5a0ccfcad8f006d">  114</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006daa427a34d39145d5d0d2a54bd1c76f950">  116</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006daa427a34d39145d5d0d2a54bd1c76f950">ADS1118_MODE_ADC</a>         = 0x00,        </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006da886ef96e7601af3ec517ec8234ffbac2">  117</a></span>&#160;    <a class="code" href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006da886ef96e7601af3ec517ec8234ffbac2">ADS1118_MODE_TEMPERATURE</a> = 0x01,        </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#ga6c9f083f2c394319c5a0ccfcad8f006d">ads1118_mode_t</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html">  123</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structads1118__handle__s.html">ads1118_handle_s</a></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a30df505f4bd8bc8754fc0a36cfbe46d6">  125</a></span>&#160;    uint8_t (*<a class="code" href="structads1118__handle__s.html#a30df505f4bd8bc8754fc0a36cfbe46d6">spi_init</a>)(void);                                              </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a9adb2481330acacfd7f6a04ce3310fab">  126</a></span>&#160;    uint8_t (*<a class="code" href="structads1118__handle__s.html#a9adb2481330acacfd7f6a04ce3310fab">spi_deinit</a>)(void);                                            </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a850cd349ae0ace1e9b6c9ba22e9e2cab">  127</a></span>&#160;    uint8_t (*<a class="code" href="structads1118__handle__s.html#a850cd349ae0ace1e9b6c9ba22e9e2cab">spi_transmit</a>)(uint8_t *tx, uint8_t *rx, uint16_t len);        </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a406c9433252b7366de417b7a60915c81">  128</a></span>&#160;    void (*<a class="code" href="structads1118__handle__s.html#a406c9433252b7366de417b7a60915c81">delay_ms</a>)(uint32_t ms);                                          </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">  129</a></span>&#160;    void (*<a class="code" href="structads1118__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">debug_print</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...);                        </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structads1118__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">  130</a></span>&#160;    uint8_t <a class="code" href="structads1118__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">inited</a>;                                                         </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#gaadad14ae0203b8cacb132a81dadefd9f">  131</a></span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#gaadad14ae0203b8cacb132a81dadefd9f">ads1118_handle_t</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structads1118__info__s.html">  136</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structads1118__info__s.html">ads1118_info_s</a></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;{</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#af890958c72bd715cc6454a10dc846ae6">  138</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structads1118__info__s.html#af890958c72bd715cc6454a10dc846ae6">chip_name</a>[32];                </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">  139</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structads1118__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">manufacturer_name</a>[32];        </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">  140</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structads1118__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">interface</a>[8];                 </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">  141</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structads1118__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">supply_voltage_min_v</a>;        </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">  142</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structads1118__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">supply_voltage_max_v</a>;        </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#a9db82802561bf22d799b03a345f1d1dc">  143</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structads1118__info__s.html#a9db82802561bf22d799b03a345f1d1dc">max_current_ma</a>;              </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">  144</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structads1118__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">temperature_min</a>;             </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">  145</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structads1118__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">temperature_max</a>;             </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structads1118__info__s.html#a41b0bd442708b70d252c50b92c75265a">  146</a></span>&#160;    uint32_t <a class="code" href="structads1118__info__s.html#a41b0bd442708b70d252c50b92c75265a">driver_version</a>;           </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__ads1118__basic__driver.html#ga8ceed1d957d0458c8fbeb069da9c0d6b">  147</a></span>&#160;} <a class="code" href="group__ads1118__basic__driver.html#ga8ceed1d957d0458c8fbeb069da9c0d6b">ads1118_info_t</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#gacb394980f3f9754ca945049187c4ecbd">  166</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_INIT(HANDLE, STRUCTURE)             memset(HANDLE, 0, sizeof(STRUCTURE))</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#ga73414315e8e80c055eebe3f0893b32df">  174</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_SPI_INIT(HANDLE, FUC)               (HANDLE)-&gt;spi_init = FUC</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#ga67761a9d83991ac0300082d47b64e163">  182</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_SPI_DEINIT(HANDLE, FUC)             (HANDLE)-&gt;spi_deinit = FUC</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#ga9ea452e63bb6493a523b560f7c6d8d34">  190</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_SPI_TRANSMIT(HANDLE, FUC)           (HANDLE)-&gt;spi_transmit = FUC</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#gaa30464196d9f326f4b643919781121ce">  198</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_DELAY_MS(HANDLE, FUC)               (HANDLE)-&gt;delay_ms = FUC</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="group__ads1118__link__driver.html#gaecf749cb7e7d8a129fa1256579677459">  206</a></span>&#160;<span class="preprocessor">#define DRIVER_ADS1118_LINK_DEBUG_PRINT(HANDLE, FUC)            (HANDLE)-&gt;debug_print = FUC</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga55d6166a84901612e5928e627dce4f90">ads1118_info</a>(<a class="code" href="structads1118__info__s.html">ads1118_info_t</a> *info);</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga9014301f3bc54491fa06584985344a1d">ads1118_init</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga9b8aa851ba99b283ac4602782b223ee3">ads1118_deinit</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle);</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga2188b115128959d6296d1aa337293532">ads1118_single_read</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, int16_t *raw, <span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160; </div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga73e33b761a30ee2d8a32e2683f501b21">ads1118_continuous_read</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, int16_t *raw, <span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gad91adcee86fd324ce059c910fbbfc703">ads1118_start_continuous_read</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga0a91f6a7d2767ab92d793ac961d2d185">ads1118_stop_continuous_read</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle);</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gabbc1c33e1c2509c10d965420a96a4aa6">ads1118_temperature_convert</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, int16_t raw, <span class="keywordtype">float</span> *deg);</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga4f38861957ee1ce243bc3f185dab9fd2">ads1118_set_channel</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#gabafaa3825a93ff6b91ee46b52fd87985">ads1118_channel_t</a> channel);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga388bfe8d066866dcf2cbc90bf7c06cda">ads1118_get_channel</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#gabafaa3825a93ff6b91ee46b52fd87985">ads1118_channel_t</a> *channel);</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga5144bbba8907fedd3957b609e2edd9d2">ads1118_set_range</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga8e9e27e0d446a669c5766bef8dc9e3db">ads1118_range_t</a> range);</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gaf9a19c2bcbbc1f46d9d3c0eb65a48f0e">ads1118_get_range</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga8e9e27e0d446a669c5766bef8dc9e3db">ads1118_range_t</a> *range);</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160; </div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gab57aaa419bd104ec5d343d4298df9d19">ads1118_set_rate</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#gad5dec9726414e0cf7c7b65894ce838f8">ads1118_rate_t</a> rate);</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gab69fea5d25d34c9fc84fb5c5a2ce9d94">ads1118_get_rate</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#gad5dec9726414e0cf7c7b65894ce838f8">ads1118_rate_t</a> *rate);</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160; </div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gadcf796dd6f95d9cafe5b053b0a0a0988">ads1118_set_mode</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga6c9f083f2c394319c5a0ccfcad8f006d">ads1118_mode_t</a> mode);</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga893f59671b982d88474569cc2d096d1d">ads1118_get_mode</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga6c9f083f2c394319c5a0ccfcad8f006d">ads1118_mode_t</a> *mode);</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#ga911c4bebd479377d56dcd638f727cc63">ads1118_set_dout_pull_up</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga78f49a4380e81222e020fb730acc47f1">ads1118_bool_t</a> enable);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160; </div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;uint8_t <a class="code" href="group__ads1118__basic__driver.html#gae038a0b1c2000b87f78ce4f3cbc0ca61">ads1118_get_dout_pull_up</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, <a class="code" href="group__ads1118__basic__driver.html#ga78f49a4380e81222e020fb730acc47f1">ads1118_bool_t</a> *enable);</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160; </div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;uint8_t <a class="code" href="group__ads1118__extern__driver.html#ga952ff81c1d768c1717135d87edc99baf">ads1118_transmit</a>(<a class="code" href="structads1118__handle__s.html">ads1118_handle_t</a> *handle, uint8_t *tx, uint8_t *rx, uint16_t len);</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; </div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;}</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga0a91f6a7d2767ab92d793ac961d2d185"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga0a91f6a7d2767ab92d793ac961d2d185">ads1118_stop_continuous_read</a></div><div class="ttdeci">uint8_t ads1118_stop_continuous_read(ads1118_handle_t *handle)</div><div class="ttdoc">stop the chip reading</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00900">driver_ads1118.c:900</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga2188b115128959d6296d1aa337293532"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga2188b115128959d6296d1aa337293532">ads1118_single_read</a></div><div class="ttdeci">uint8_t ads1118_single_read(ads1118_handle_t *handle, int16_t *raw, float *v)</div><div class="ttdoc">read data from the chip once</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00673">driver_ads1118.c:673</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga388bfe8d066866dcf2cbc90bf7c06cda"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga388bfe8d066866dcf2cbc90bf7c06cda">ads1118_get_channel</a></div><div class="ttdeci">uint8_t ads1118_get_channel(ads1118_handle_t *handle, ads1118_channel_t *channel)</div><div class="ttdoc">get the adc channel</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00299">driver_ads1118.c:299</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga4f38861957ee1ce243bc3f185dab9fd2"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga4f38861957ee1ce243bc3f185dab9fd2">ads1118_set_channel</a></div><div class="ttdeci">uint8_t ads1118_set_channel(ads1118_handle_t *handle, ads1118_channel_t channel)</div><div class="ttdoc">set the adc channel</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00252">driver_ads1118.c:252</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga5144bbba8907fedd3957b609e2edd9d2"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga5144bbba8907fedd3957b609e2edd9d2">ads1118_set_range</a></div><div class="ttdeci">uint8_t ads1118_set_range(ads1118_handle_t *handle, ads1118_range_t range)</div><div class="ttdoc">set the adc range</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00336">driver_ads1118.c:336</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga55d6166a84901612e5928e627dce4f90"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga55d6166a84901612e5928e627dce4f90">ads1118_info</a></div><div class="ttdeci">uint8_t ads1118_info(ads1118_info_t *info)</div><div class="ttdoc">get chip's information</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l01001">driver_ads1118.c:1001</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga6c9f083f2c394319c5a0ccfcad8f006d"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga6c9f083f2c394319c5a0ccfcad8f006d">ads1118_mode_t</a></div><div class="ttdeci">ads1118_mode_t</div><div class="ttdoc">ads1118 mode enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00114">driver_ads1118.h:115</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga73e33b761a30ee2d8a32e2683f501b21"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga73e33b761a30ee2d8a32e2683f501b21">ads1118_continuous_read</a></div><div class="ttdeci">uint8_t ads1118_continuous_read(ads1118_handle_t *handle, int16_t *raw, float *v)</div><div class="ttdoc">read data from the chip continuously</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00783">driver_ads1118.c:783</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga78f49a4380e81222e020fb730acc47f1"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga78f49a4380e81222e020fb730acc47f1">ads1118_bool_t</a></div><div class="ttdeci">ads1118_bool_t</div><div class="ttdoc">ads1118 bool enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00062">driver_ads1118.h:63</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga893f59671b982d88474569cc2d096d1d"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga893f59671b982d88474569cc2d096d1d">ads1118_get_mode</a></div><div class="ttdeci">uint8_t ads1118_get_mode(ads1118_handle_t *handle, ads1118_mode_t *mode)</div><div class="ttdoc">get the chip mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00551">driver_ads1118.c:551</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga8ceed1d957d0458c8fbeb069da9c0d6b"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga8ceed1d957d0458c8fbeb069da9c0d6b">ads1118_info_t</a></div><div class="ttdeci">struct ads1118_info_s ads1118_info_t</div><div class="ttdoc">ads1118 information structure definition</div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga8e9e27e0d446a669c5766bef8dc9e3db"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga8e9e27e0d446a669c5766bef8dc9e3db">ads1118_range_t</a></div><div class="ttdeci">ads1118_range_t</div><div class="ttdoc">ads1118 range enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00071">driver_ads1118.h:72</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga9014301f3bc54491fa06584985344a1d"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga9014301f3bc54491fa06584985344a1d">ads1118_init</a></div><div class="ttdeci">uint8_t ads1118_init(ads1118_handle_t *handle)</div><div class="ttdoc">initialize the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00142">driver_ads1118.c:142</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga911c4bebd479377d56dcd638f727cc63"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga911c4bebd479377d56dcd638f727cc63">ads1118_set_dout_pull_up</a></div><div class="ttdeci">uint8_t ads1118_set_dout_pull_up(ads1118_handle_t *handle, ads1118_bool_t enable)</div><div class="ttdoc">enable or disable dout pull up</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00588">driver_ads1118.c:588</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ga9b8aa851ba99b283ac4602782b223ee3"><div class="ttname"><a href="group__ads1118__basic__driver.html#ga9b8aa851ba99b283ac4602782b223ee3">ads1118_deinit</a></div><div class="ttdeci">uint8_t ads1118_deinit(ads1118_handle_t *handle)</div><div class="ttdoc">close the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00199">driver_ads1118.c:199</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gaadad14ae0203b8cacb132a81dadefd9f"><div class="ttname"><a href="group__ads1118__basic__driver.html#gaadad14ae0203b8cacb132a81dadefd9f">ads1118_handle_t</a></div><div class="ttdeci">struct ads1118_handle_s ads1118_handle_t</div><div class="ttdoc">ads1118 handle structure definition</div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gab57aaa419bd104ec5d343d4298df9d19"><div class="ttname"><a href="group__ads1118__basic__driver.html#gab57aaa419bd104ec5d343d4298df9d19">ads1118_set_rate</a></div><div class="ttdeci">uint8_t ads1118_set_rate(ads1118_handle_t *handle, ads1118_rate_t rate)</div><div class="ttdoc">set the sample rate</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00420">driver_ads1118.c:420</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gab69fea5d25d34c9fc84fb5c5a2ce9d94"><div class="ttname"><a href="group__ads1118__basic__driver.html#gab69fea5d25d34c9fc84fb5c5a2ce9d94">ads1118_get_rate</a></div><div class="ttdeci">uint8_t ads1118_get_rate(ads1118_handle_t *handle, ads1118_rate_t *rate)</div><div class="ttdoc">get the sample rate</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00467">driver_ads1118.c:467</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gabafaa3825a93ff6b91ee46b52fd87985"><div class="ttname"><a href="group__ads1118__basic__driver.html#gabafaa3825a93ff6b91ee46b52fd87985">ads1118_channel_t</a></div><div class="ttdeci">ads1118_channel_t</div><div class="ttdoc">ads1118 channel enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00099">driver_ads1118.h:100</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gabbc1c33e1c2509c10d965420a96a4aa6"><div class="ttname"><a href="group__ads1118__basic__driver.html#gabbc1c33e1c2509c10d965420a96a4aa6">ads1118_temperature_convert</a></div><div class="ttdeci">uint8_t ads1118_temperature_convert(ads1118_handle_t *handle, int16_t raw, float *deg)</div><div class="ttdoc">temperature convert</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00945">driver_ads1118.c:945</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gad5dec9726414e0cf7c7b65894ce838f8"><div class="ttname"><a href="group__ads1118__basic__driver.html#gad5dec9726414e0cf7c7b65894ce838f8">ads1118_rate_t</a></div><div class="ttdeci">ads1118_rate_t</div><div class="ttdoc">ads1118 channel rate enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00084">driver_ads1118.h:85</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gad91adcee86fd324ce059c910fbbfc703"><div class="ttname"><a href="group__ads1118__basic__driver.html#gad91adcee86fd324ce059c910fbbfc703">ads1118_start_continuous_read</a></div><div class="ttdeci">uint8_t ads1118_start_continuous_read(ads1118_handle_t *handle)</div><div class="ttdoc">start the chip reading</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00857">driver_ads1118.c:857</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gadcf796dd6f95d9cafe5b053b0a0a0988"><div class="ttname"><a href="group__ads1118__basic__driver.html#gadcf796dd6f95d9cafe5b053b0a0a0988">ads1118_set_mode</a></div><div class="ttdeci">uint8_t ads1118_set_mode(ads1118_handle_t *handle, ads1118_mode_t mode)</div><div class="ttdoc">set the chip mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00504">driver_ads1118.c:504</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gae038a0b1c2000b87f78ce4f3cbc0ca61"><div class="ttname"><a href="group__ads1118__basic__driver.html#gae038a0b1c2000b87f78ce4f3cbc0ca61">ads1118_get_dout_pull_up</a></div><div class="ttdeci">uint8_t ads1118_get_dout_pull_up(ads1118_handle_t *handle, ads1118_bool_t *enable)</div><div class="ttdoc">get dout pull up status</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00635">driver_ads1118.c:635</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gaf9a19c2bcbbc1f46d9d3c0eb65a48f0e"><div class="ttname"><a href="group__ads1118__basic__driver.html#gaf9a19c2bcbbc1f46d9d3c0eb65a48f0e">ads1118_get_range</a></div><div class="ttdeci">uint8_t ads1118_get_range(ads1118_handle_t *handle, ads1118_range_t *range)</div><div class="ttdoc">get the adc range</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00383">driver_ads1118.c:383</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga6c9f083f2c394319c5a0ccfcad8f006da886ef96e7601af3ec517ec8234ffbac2"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006da886ef96e7601af3ec517ec8234ffbac2">ADS1118_MODE_TEMPERATURE</a></div><div class="ttdeci">@ ADS1118_MODE_TEMPERATURE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00117">driver_ads1118.h:117</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga6c9f083f2c394319c5a0ccfcad8f006daa427a34d39145d5d0d2a54bd1c76f950"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga6c9f083f2c394319c5a0ccfcad8f006daa427a34d39145d5d0d2a54bd1c76f950">ADS1118_MODE_ADC</a></div><div class="ttdeci">@ ADS1118_MODE_ADC</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00116">driver_ads1118.h:116</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga78f49a4380e81222e020fb730acc47f1a0632581684dbafc03a6d4d55ae4fcb6e"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a0632581684dbafc03a6d4d55ae4fcb6e">ADS1118_BOOL_TRUE</a></div><div class="ttdeci">@ ADS1118_BOOL_TRUE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00065">driver_ads1118.h:65</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga78f49a4380e81222e020fb730acc47f1a20394de6d87f9867988d8d9d745596e1"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga78f49a4380e81222e020fb730acc47f1a20394de6d87f9867988d8d9d745596e1">ADS1118_BOOL_FALSE</a></div><div class="ttdeci">@ ADS1118_BOOL_FALSE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00064">driver_ads1118.h:64</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dba5513613a4baca4b8d42f4939b619aa9c"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba5513613a4baca4b8d42f4939b619aa9c">ADS1118_RANGE_0P256V</a></div><div class="ttdeci">@ ADS1118_RANGE_0P256V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00078">driver_ads1118.h:78</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dba8a92d51c2cef6b3f95c4a71647d265ad"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dba8a92d51c2cef6b3f95c4a71647d265ad">ADS1118_RANGE_1P024V</a></div><div class="ttdeci">@ ADS1118_RANGE_1P024V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00076">driver_ads1118.h:76</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dbaad424621cf470a9a11fab9cb5b0d6de5"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbaad424621cf470a9a11fab9cb5b0d6de5">ADS1118_RANGE_0P512V</a></div><div class="ttdeci">@ ADS1118_RANGE_0P512V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00077">driver_ads1118.h:77</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dbabd8448722b8bc8fa8a451723b1258144"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbabd8448722b8bc8fa8a451723b1258144">ADS1118_RANGE_2P048V</a></div><div class="ttdeci">@ ADS1118_RANGE_2P048V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00075">driver_ads1118.h:75</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dbad54eb5fd2837dffd5ead493710d45063"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad54eb5fd2837dffd5ead493710d45063">ADS1118_RANGE_6P144V</a></div><div class="ttdeci">@ ADS1118_RANGE_6P144V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00073">driver_ads1118.h:73</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_gga8e9e27e0d446a669c5766bef8dc9e3dbad70180f192713d521c787e63030bd6e9"><div class="ttname"><a href="group__ads1118__basic__driver.html#gga8e9e27e0d446a669c5766bef8dc9e3dbad70180f192713d521c787e63030bd6e9">ADS1118_RANGE_4P096V</a></div><div class="ttdeci">@ ADS1118_RANGE_4P096V</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00074">driver_ads1118.h:74</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985a31a3e2abc07afc5a3ade5e6ce71f0187"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a31a3e2abc07afc5a3ade5e6ce71f0187">ADS1118_CHANNEL_AIN2_GND</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN2_GND</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00107">driver_ads1118.h:107</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985a4c23449b464ca7e036c087cd6b54eb5e"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a4c23449b464ca7e036c087cd6b54eb5e">ADS1118_CHANNEL_AIN0_GND</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN0_GND</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00105">driver_ads1118.h:105</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985a58125163d98403f090c67e081975ff8c"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a58125163d98403f090c67e081975ff8c">ADS1118_CHANNEL_AIN0_AIN1</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN0_AIN1</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00101">driver_ads1118.h:101</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985a6ad610ba2237169d8f815190fc7fd635"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a6ad610ba2237169d8f815190fc7fd635">ADS1118_CHANNEL_AIN0_AIN3</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN0_AIN3</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00102">driver_ads1118.h:102</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985a7d3758007a36985cd1a35c2e983923a8"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985a7d3758007a36985cd1a35c2e983923a8">ADS1118_CHANNEL_AIN2_AIN3</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN2_AIN3</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00104">driver_ads1118.h:104</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985ac0aa314ff603ec793b90ff60cc0d3440"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac0aa314ff603ec793b90ff60cc0d3440">ADS1118_CHANNEL_AIN1_GND</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN1_GND</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00106">driver_ads1118.h:106</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985ac55cc1d3e9c42d3a51513cb4ea5206fc"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985ac55cc1d3e9c42d3a51513cb4ea5206fc">ADS1118_CHANNEL_AIN3_GND</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN3_GND</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00108">driver_ads1118.h:108</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggabafaa3825a93ff6b91ee46b52fd87985adfc3e9c067fccfb9568c4f36d56d29a2"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggabafaa3825a93ff6b91ee46b52fd87985adfc3e9c067fccfb9568c4f36d56d29a2">ADS1118_CHANNEL_AIN1_AIN3</a></div><div class="ttdeci">@ ADS1118_CHANNEL_AIN1_AIN3</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00103">driver_ads1118.h:103</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8a01e81a3c6c5afcafbc7e727801f23617"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a01e81a3c6c5afcafbc7e727801f23617">ADS1118_RATE_64SPS</a></div><div class="ttdeci">@ ADS1118_RATE_64SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00089">driver_ads1118.h:89</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8a6668699dc8cc04acf7d1e07baa8d9edd"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6668699dc8cc04acf7d1e07baa8d9edd">ADS1118_RATE_16SPS</a></div><div class="ttdeci">@ ADS1118_RATE_16SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00087">driver_ads1118.h:87</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8a6934052e5bd66fee04ed51656644e3ec"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a6934052e5bd66fee04ed51656644e3ec">ADS1118_RATE_32SPS</a></div><div class="ttdeci">@ ADS1118_RATE_32SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00088">driver_ads1118.h:88</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8a9b336c77a1f74d36ca4469e26e8ead55"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8a9b336c77a1f74d36ca4469e26e8ead55">ADS1118_RATE_860SPS</a></div><div class="ttdeci">@ ADS1118_RATE_860SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00093">driver_ads1118.h:93</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8ab3406d4c5ad1eba23e6374b9e27394d4"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ab3406d4c5ad1eba23e6374b9e27394d4">ADS1118_RATE_475SPS</a></div><div class="ttdeci">@ ADS1118_RATE_475SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00092">driver_ads1118.h:92</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8aba07a6359dee87c7c7686b2f670216c1"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8aba07a6359dee87c7c7686b2f670216c1">ADS1118_RATE_128SPS</a></div><div class="ttdeci">@ ADS1118_RATE_128SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00090">driver_ads1118.h:90</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8ae56de8a9e54b295965f3e6d6a37b2f3a"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8ae56de8a9e54b295965f3e6d6a37b2f3a">ADS1118_RATE_8SPS</a></div><div class="ttdeci">@ ADS1118_RATE_8SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00086">driver_ads1118.h:86</a></div></div>
<div class="ttc" id="agroup__ads1118__basic__driver_html_ggad5dec9726414e0cf7c7b65894ce838f8afc684d1815f829b624e3dcdd008d2324"><div class="ttname"><a href="group__ads1118__basic__driver.html#ggad5dec9726414e0cf7c7b65894ce838f8afc684d1815f829b624e3dcdd008d2324">ADS1118_RATE_250SPS</a></div><div class="ttdeci">@ ADS1118_RATE_250SPS</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00091">driver_ads1118.h:91</a></div></div>
<div class="ttc" id="agroup__ads1118__extern__driver_html_ga952ff81c1d768c1717135d87edc99baf"><div class="ttname"><a href="group__ads1118__extern__driver.html#ga952ff81c1d768c1717135d87edc99baf">ads1118_transmit</a></div><div class="ttdeci">uint8_t ads1118_transmit(ads1118_handle_t *handle, uint8_t *tx, uint8_t *rx, uint16_t len)</div><div class="ttdoc">chip transmit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8c_source.html#l00974">driver_ads1118.c:974</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html"><div class="ttname"><a href="structads1118__handle__s.html">ads1118_handle_s</a></div><div class="ttdoc">ads1118 handle structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00123">driver_ads1118.h:124</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a19bedf28d2b9748f6a62d9ae93f4e68f"><div class="ttname"><a href="structads1118__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">ads1118_handle_s::inited</a></div><div class="ttdeci">uint8_t inited</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00130">driver_ads1118.h:130</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a30df505f4bd8bc8754fc0a36cfbe46d6"><div class="ttname"><a href="structads1118__handle__s.html#a30df505f4bd8bc8754fc0a36cfbe46d6">ads1118_handle_s::spi_init</a></div><div class="ttdeci">uint8_t(* spi_init)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00125">driver_ads1118.h:125</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a406c9433252b7366de417b7a60915c81"><div class="ttname"><a href="structads1118__handle__s.html#a406c9433252b7366de417b7a60915c81">ads1118_handle_s::delay_ms</a></div><div class="ttdeci">void(* delay_ms)(uint32_t ms)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00128">driver_ads1118.h:128</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a769d5b3a6c14790a0e126e8fe70b384b"><div class="ttname"><a href="structads1118__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">ads1118_handle_s::debug_print</a></div><div class="ttdeci">void(* debug_print)(const char *const fmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00129">driver_ads1118.h:129</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a850cd349ae0ace1e9b6c9ba22e9e2cab"><div class="ttname"><a href="structads1118__handle__s.html#a850cd349ae0ace1e9b6c9ba22e9e2cab">ads1118_handle_s::spi_transmit</a></div><div class="ttdeci">uint8_t(* spi_transmit)(uint8_t *tx, uint8_t *rx, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00127">driver_ads1118.h:127</a></div></div>
<div class="ttc" id="astructads1118__handle__s_html_a9adb2481330acacfd7f6a04ce3310fab"><div class="ttname"><a href="structads1118__handle__s.html#a9adb2481330acacfd7f6a04ce3310fab">ads1118_handle_s::spi_deinit</a></div><div class="ttdeci">uint8_t(* spi_deinit)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00126">driver_ads1118.h:126</a></div></div>
<div class="ttc" id="astructads1118__info__s_html"><div class="ttname"><a href="structads1118__info__s.html">ads1118_info_s</a></div><div class="ttdoc">ads1118 information structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00136">driver_ads1118.h:137</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_a3366a5dce9b829e03c3d321c2b4df3f6"><div class="ttname"><a href="structads1118__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">ads1118_info_s::temperature_max</a></div><div class="ttdeci">float temperature_max</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00145">driver_ads1118.h:145</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_a3d2b12bcac7a85ea8646bff9debe8660"><div class="ttname"><a href="structads1118__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">ads1118_info_s::supply_voltage_max_v</a></div><div class="ttdeci">float supply_voltage_max_v</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00142">driver_ads1118.h:142</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_a41b0bd442708b70d252c50b92c75265a"><div class="ttname"><a href="structads1118__info__s.html#a41b0bd442708b70d252c50b92c75265a">ads1118_info_s::driver_version</a></div><div class="ttdeci">uint32_t driver_version</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00146">driver_ads1118.h:146</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_a8f9dbe66ac0b66ebae0a36fcb4ba368e"><div class="ttname"><a href="structads1118__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">ads1118_info_s::temperature_min</a></div><div class="ttdeci">float temperature_min</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00144">driver_ads1118.h:144</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_a9db82802561bf22d799b03a345f1d1dc"><div class="ttname"><a href="structads1118__info__s.html#a9db82802561bf22d799b03a345f1d1dc">ads1118_info_s::max_current_ma</a></div><div class="ttdeci">float max_current_ma</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00143">driver_ads1118.h:143</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_ad25285dbf810c90f8eaf3fcef6f2b2ea"><div class="ttname"><a href="structads1118__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">ads1118_info_s::manufacturer_name</a></div><div class="ttdeci">char manufacturer_name[32]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00139">driver_ads1118.h:139</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_ad8bde6ddadaf43d951e62f3befb9d35a"><div class="ttname"><a href="structads1118__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">ads1118_info_s::supply_voltage_min_v</a></div><div class="ttdeci">float supply_voltage_min_v</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00141">driver_ads1118.h:141</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_aebaa6c28dd4f2c3dc27566fcb910fd28"><div class="ttname"><a href="structads1118__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">ads1118_info_s::interface</a></div><div class="ttdeci">char interface[8]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00140">driver_ads1118.h:140</a></div></div>
<div class="ttc" id="astructads1118__info__s_html_af890958c72bd715cc6454a10dc846ae6"><div class="ttname"><a href="structads1118__info__s.html#af890958c72bd715cc6454a10dc846ae6">ads1118_info_s::chip_name</a></div><div class="ttdeci">char chip_name[32]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ads1118_8h_source.html#l00138">driver_ads1118.h:138</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="driver__ads1118_8h.html">driver_ads1118.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
